<template>
    <div class="demo-image__placeholder">
  <div class="block">
    <el-image :src="src">
      <div slot="placeholder" class="image-slot">
        加载中<span class="dot">...</span>
      </div>
    </el-image>
  </div>
</div>
</template>
<style lang="less">
    .demo-image__placeholder{
      .el-image__inner{
        display: block;
        width: 40px;
        height: 40px;
        float: left;
      }

        
    }
</style>
<script>
export default {
    name:'Imgss',
     data() {
      return {
        src: 'https://cube.elemecdn.com/6/94/4d3ea53c084bad6931a56d5158a48jpeg.jpeg'
      }
    }
}
</script>